home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 April / macformat-049.iso / mac / Demos / Print Artist Demo / PA12-Mac.Dxr / 00068.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  590 b   |  26 lines

  1. on exitFrame
  2.   global playMode, loadNext, mainPageWait, subPageWait
  3.   startTimer()
  4.   puppetSound(0)
  5.   if (playMode = "64KMemOK") or (playMode = "PPCMemOK") then
  6.     if loadNext = 0 then
  7.       nothing()
  8.     else
  9.       if loadNext = 1 then
  10.         unLoadCast()
  11.         preLoad(label("Cal1") - 1, label("Cal1") + 7)
  12.       end if
  13.     end if
  14.     if the timer < subPageWait then
  15.       wait(subPageWait - the timer)
  16.     end if
  17.     startTimer()
  18.     go(#next)
  19.   else
  20.     preLoad(label("Cal1"), label("Cal1"))
  21.     preLoad(label("Cal1") + 7, label("Cal1") + 7)
  22.     wait(30)
  23.     go(#next)
  24.   end if
  25. end
  26.